package it.slothy.noveleditor.classes.objects.eventpage;

import it.slothy.noveleditor.classes.instance.Switch;
import it.slothy.noveleditor.classes.story.VNConversation;

public class SwitchEvent extends EventPage{
	
	//switch da utilizzare per lo sblocco
	private Switch switchE;
	
	//se deve essere attivo o no
	private boolean value;

	public SwitchEvent(String d, VNConversation c, Switch s, boolean v) {
		super(d, c);

		this.switchE = s;
		this.value = v;
	}

	public Switch getSwitchE() {
		return switchE;
	}

	public void setSwitchE(Switch switchE) {
		this.switchE = switchE;
	}

	public boolean isValue() {
		return value;
	}

	public void setValue(boolean value) {
		this.value = value;
	}

}
